package top.hmtools.ckfinder.beans.commons;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;

@XmlRootElement(name="File")
public class FileBean {

	@XmlAttribute(name="name")
	private String name;
	
	@XmlAttribute(name="date")
	private long date;
	
	@XmlAttribute(name="size")
	private long size;

	@XmlTransient
	public String getName() {
		return name;
	}

	public FileBean setName(String name) {
		this.name = name;
		return this;
	}

	@XmlTransient
	public long getDate() {
		return date;
	}

	public FileBean setDate(long date) {
		this.date = date;
		return this;
	}

	@XmlTransient
	public long getSize() {
		return size;
	}

	public FileBean setSize(long size) {
		this.size = size;
		return this;
	}
	
	
}
